//
//  HCSicknessManageTableViewCell.m
//  QuickCure1
//
//  Created by 韩春 on 2016/10/31.
//  Copyright © 2016年 maoge. All rights reserved.
//

#import "HCSicknessManageTableViewCell.h"
#import "HCPatientModel.h"


@interface HCSicknessManageTableViewCell()
    
@property (weak, nonatomic) IBOutlet UIImageView *BLGL_image;
@property (weak, nonatomic) IBOutlet UILabel *BLGL_name;
@property (weak, nonatomic) IBOutlet UILabel *BLGL_number;
@property (weak, nonatomic) IBOutlet UILabel *BLGL_phoneNumber;

@property (weak, nonatomic) IBOutlet UIImageView *imageViewPatient;
@property (weak, nonatomic) IBOutlet UILabel *labelDiseaseType;
@property (weak, nonatomic) IBOutlet UILabel *labelDiseaseDetails;
@property (weak, nonatomic) IBOutlet UILabel *labelDesc;
@property (weak, nonatomic) IBOutlet UILabel *lbl_illnessHistoryCurrentTime;


@end


@implementation HCSicknessManageTableViewCell


    -(void)setModel:(HCPatientModel *)model{
        
        _model = model;
        
        _BLGL_name.text = model.name;
        _BLGL_number.text = model.number;
        _BLGL_phoneNumber.text = model.telNum;
        _imageViewPatient.image = model.imagePatient;
        _labelDiseaseType.text = model.diseasTypy;
        _labelDiseaseDetails.text = model.diseasDetail;
        _labelDesc.text = model.diseasDescription;
        _lbl_illnessHistoryCurrentTime.text=model.illnessHistoryCurrentTime;
        
     }
    
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
